Skip to content

test: add comprehensive test coverage for caching library#5

Merged
simllll merged 2 commits into
mainfrom
claude/add-test-coverage-u8uts
Jan 21, 2026
Merged

test: add comprehensive test coverage for caching library#5
simllll merged 2 commits into
mainfrom
claude/add-test-coverage-u8uts

Conversation

@simllll

@simllll simllll commented Jan 21, 2026

Copy link
Copy Markdown
Owner
  • Add dedicated test file for SyncCache decorator with 12 tests
  • Add test file for JSONStringifyKeyStrategy with 17 tests
  • Expand MemoryStorage tests from 1 to 13 tests (clear, edge cases)
  • Expand FsJsonStorage tests from 3 to 17 tests (persistence, edge cases)
  • Expand ExpirationStrategy tests from 4 to 25 tests (TTL, lazy/eager)
  • Expand Cache decorator tests with DISABLE_CACHE_DECORATOR and error handling
  • Expand MultiCache decorator tests with proper assertions and edge cases

Test count increased from 45 to 138 tests total.

- Add dedicated test file for SyncCache decorator with 12 tests
- Add test file for JSONStringifyKeyStrategy with 17 tests
- Expand MemoryStorage tests from 1 to 13 tests (clear, edge cases)
- Expand FsJsonStorage tests from 3 to 17 tests (persistence, edge cases)
- Expand ExpirationStrategy tests from 4 to 25 tests (TTL, lazy/eager)
- Expand Cache decorator tests with DISABLE_CACHE_DECORATOR and error handling
- Expand MultiCache decorator tests with proper assertions and edge cases

Test count increased from 45 to 138 tests total.
- Create CLAUDE.md with development guidelines
- Document build, test, lint, and format commands
- Fix prettier formatting in json.stringify.strategy.test.ts
@simllll simllll merged commit d62985b into main Jan 21, 2026
5 checks passed
@simllll simllll deleted the claude/add-test-coverage-u8uts branch January 22, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants